package com.ruoyi.system.mapper;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.domain.DepartmentInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DepartmentInfoMapper {

    @DataSource(value = DataSourceType.SLAVE)
    @Select("select dept_id, dept_name, dept_code from department_info where supe_id = '100000'")
    public List<DepartmentInfo> selectDepartmentInfoList();


}
